/**  
* @author renbangjie renbangjie@126.com  
* @date 2014-11-24 下午2:27:54
* @version V1.0  
* <b>Copyright (c)</b> 2014医信金融信息服务（上海）有限公司-版权所有<br/>
*/
package com.yjd.comm.recharge.dto;

import com.yjd.comm.enums.OrderStatus;
import com.yjd.comm.recharge.model.OrderModel;

/**
 * @author renbangjie renbangjie@126.com
 * @date 2014-11-24 下午2:27:54
 */
public class OrderDto extends OrderModel {

	/**
	* @Fields serialVersionUID : TODO
	*/
	private static final long serialVersionUID = 1L;
	
	
	private String channelName; //充值渠道
	
	private String username; //用户名
	
	private String bankName; //银行
	
	private String statusText; //订单状态
	
	private String addDate; //提交订单日期
	
	private String upDate; //成功日期
	
	
	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getStatusText() {
		OrderStatus status = OrderStatus.parse(super.getStatus());
		if(status!=null){
			return status.getLabel();
		}
		return statusText;
	}

	public void setStatusText(String statusText) {
		this.statusText = statusText;
	}

	public String getAddDate() {
		return addDate;
	}

	public void setAddDate(String addDate) {
		this.addDate = addDate;
	}

	public String getUpDate() {
		return upDate;
	}

	public void setUpDate(String upDate) {
		this.upDate = upDate;
	}
	
}
